package com.bwda.dsrs.systemservice.domain.form.loginrule;

import com.bwda.dsrs.base.centerbase.condition.BaseCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 登录安全策略
 *
 * @author liangjianyong
 * @date 2019/4/29
 */
@Data
@ApiModel(description = "登录密码规则")
public class LoginRuleUpdateForm {

    @ApiModelProperty(value = "验证码:0:一直不启用1.一直启用 2.登录失败")
    private Integer enableVerifiCode;

    @ApiModelProperty(value = "验证码启用选择：登录失败 情况下 几次失败启用")
    private Integer verifiFailTime;

    @ApiModelProperty(value = "0内置1自定义")
    private Integer isDefault;

    @ApiModelProperty(value = "允许失败次数")
    private Integer failTimes;

    @ApiModelProperty(value = "0自动解锁1手动解锁")
    private Integer failDeal;

    @ApiModelProperty(value = "冻结后，x分钟后自动解锁")
    private Integer lockTime;

}
